<?php

define('APP_PATH', dirname(__FILE__));

define('HP_VERSION', '1.0');

define('IN_HOPECMS', true);

define('POWERED', 'Powered By HopeCMS');

include '../framework/d.php';

//注册路径别名
D::setPathAlias('module', APP_PATH . '/app/module/');
D::setPathAlias('admin',  APP_PATH . '/app/module/admin/');

//创建应用程序
D::createApplication( include(APP_PATH.'/app/config/config.php') );

?>